//
//  RaidersViewController.m
//  mafengwo
//
//  Created by Mac on 16/3/27.
//  Copyright © 2016年 Mac. All rights reserved.
//

#import "RaidersViewController.h"

@interface RaidersViewController ()

@end

@implementation RaidersViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.navigationItem.title = @"找攻略";
    UIBarButtonItem *item = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"history.png"] style:UIBarButtonItemStylePlain target:self action:@selector(itemAction:)];
    self.navigationItem.leftBarButtonItem = item;
}

-(void)itemAction:(UIBarButtonItem*)item{

    [self.navigationController popViewControllerAnimated:YES];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
